﻿namespace Web.Control.Member.widgets
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Web.Security;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;
	using System.Text.RegularExpressions;
    using Lx.Web.Common.UI;
    using Lx.Web.Common.ControlsUI;
	using System.Collections;

    using Model.WWW_User.User;
    using BLF.WWW_User.Users;

    public class badges : BaseControl
	{
        protected UserLanguageBuddySet uls;

		protected override void OnLoad(EventArgs e)
		{
            if (!Page.IsPostBack)
            {
                if (HttpContext.Current.User.Identity.Name == "")
                {
                    Page.Response.Redirect(LoginHost + "/User/login.htm?ReturnUrl=" + Page.Request.Url.AbsoluteUri);
                }
                uls = User.GetLanguagePre(HttpContext.Current.User.Identity.Name);
            }
			base.OnLoad (e);
		}
	}
}

